package com.yj.entity;

import org.apache.ibatis.type.Alias;

@Alias("productCategory")
public class ProductCategory {

	private int id;
	private String cName;
	private int parentid;
	private int ext1;
	private String ext2;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getcName() {
		return cName;
	}
	public void setcName(String cName) {
		this.cName = cName;
	}
	public int getParentid() {
		return parentid;
	}
	public void setParentid(int parentid) {
		this.parentid = parentid;
	}
	public int getExt1() {
		return ext1;
	}
	public void setExt1(int ext1) {
		this.ext1 = ext1;
	}
	public String getExt2() {
		return ext2;
	}
	public void setExt2(String ext2) {
		this.ext2 = ext2;
	}
	@Override
	public String toString() {
		return "ProductCategory [id=" + id + ", cName=" + cName + ", parentid=" + parentid + ", ext1=" + ext1
				+ ", ext2=" + ext2 + "]";
	}
	
	
}
